LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)

Item Property (DictionaryWithEvents<TKey,TValue>)

Show in webframe






The key of the value to get or set.
Gets or sets the value associated with the specified key.
Syntax
public TValue this[ 
   TKey key
]; {get; set;}
'Declaration
 
Public Default Property Item( _
   ByVal key As TKey _
) As TValue
'Usage
 
Dim instance As DictionaryWithEvents(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
 
instance.Item(key) = value
 
value = instance.Item(key)

            

            
public: __property TValue* get_Item   TKey* key
;
public: __property void set_Item   TKey* key,
   TValue* value
;
public:
property TValue* default [TKey^] {
   TValue* get(TKey* key);
   void set (TKey* keyTValue* value);
}

Parameters

key
The key of the value to get or set.

Property Value

The value associated with the specified key. If the specified key is not found, a get operation throws a System.Collections.Generic.KeyNotFoundException, and a set operation creates a new element with the specified key.
Requirements

Target Platforms

See Also

Reference

DictionaryWithEvents<TKey,TValue> Class
DictionaryWithEvents<TKey,TValue> Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.